<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/12/18
  Time: 9:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>详情</title>
</head>
<body>
<form>
    <p>
        花卉编号：<input type="text" name="flowerName" value="${flower.flowerId}">
    </p>
    <p>
        花卉名称：<input type="text" name="flowerName" value="${flower.flowerName}">
    </p>
    <p>
        花卉数量：<input type="text" name="flowerNumber" value="${flower.flowerNumber}">
    </p>
    <p>
        花卉品种：<input type="text" name="flowerType" value="${flower.flowerType}">
    </p>
    <p>
        花卉产地：<input type="text" name="flowerLocation" value="${flower.flowerLocation}">
    </p>
    <p>
        <c:if test="${flower.state==1}">
            花卉状态：<input type="radio" name="state" value="1" checked>已上架
            <input type="radio" name="state" value="2" >未上架
            <input type="radio" name="state" value="3" >已售罄
        </c:if>
        <c:if test="${flower.state==2}">
            花卉状态：<input type="radio" name="state" value="1" >已上架
            <input type="radio" name="state" value="2" checked>未上架
            <input type="radio" name="state" value="3" >已售罄
        </c:if>
        <c:if test="${flower.state==3}">
            花卉状态：<input type="radio" name="state" value="1" >已上架
            <input type="radio" name="state" value="2" >未上架
            <input type="radio" name="state" value="3" checked>已售罄
        </c:if>
    </p>
</form>
</body>
</html>
